package 测试;

import com.sun.org.apache.xml.internal.serialize.OutputFormat;
import org.junit.Test;

import java.io.File;
import java.io.FileOutputStream;
import java.math.BigDecimal;


public class Test01 {

    /**
     * 生成xml方法
     */
    public static void createXml(){

        BigDecimal a = new BigDecimal("100.001");
        a = a.multiply(new BigDecimal("1000"));
        System.out.println(a.toString());

    }

    public static void main(String[] args) {
        Test01.createXml();
    }
}
